<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            width: 331px;
            height: 195px;
            border: 5px solid green;
            margin: 200px auto;
            /* perspective: 1000px; */
        }
        img {
            /* 单独设置 */
            /* x轴平移30px */
            /* transform: translateX(30px); */
            /* y轴移动40px */
            /* transform: translateY(40px); */
            /* z轴移动100px */
            /* transform: translateZ(100px); */
            /* 连写 */
            transform: translate3d(30px, 40px, 100px);
        }
    </style>
</head>
<body>
    <div class="box">
        <img src="./img/gamepic10.jpg" alt="">
    </div>
</body>
</html>